#ifndef __ILIB_TIME_H_20120415__
#define __ILIB_TIME_H_20120415__

#include "../../iHeader.h"

#if !defined(__WIN__)
uint32_t GetTickCount()
{
    timespec ts;
    clock_gettime(CLOCK_MONOTONIC, &ts);
    return (ts.tv_sec*1000 + ts.tv_nsec/(1000*1000));
}
#endif

#endif  //__ILIB_TIME_H_20120415__
